package com.csc.service;

import org.springframework.dao.DataAccessException;

import com.csc.bean.SystemAccountBean;
import com.csc.domain.SystemAccount;

public interface ValidatorService {
	public String encodePassword(String rawPass)
			throws DataAccessException;

	public boolean isPasswordValid(String encPass, String rawPass, Object salt)
			throws DataAccessException;

	public String checkUpdatePassword(String userName, String oldPass,
			String newPass, String confPass);
	
	public String checkFullName(String fName, String lName, String mName);
	
	public String checkIDCardNumber(String idCardNumber);
	
	public String checkPhoneNumber (String phone1, String phone2);
	
	public String checkAddress (String address1, String address2);
	
	public String checkEmail (String email1, String email2);
	
	public String[] checkAccountProperties(SystemAccountBean acc);
	
	public String checkRequestResetPassword(String username);
	
	public String[] checkCreateAccount(SystemAccountBean acc);
	
}
